package com.javatom.notes.mongo.web;


import com.javatom.notes.mongo.service.MongoOperatService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class MongoOperatControllor {

    @Resource
   private MongoOperatService mongoOperatService;


//   @RequestMapping(value = {"/initData"}, method = {RequestMethod.GET})
//   public BaseResponse save(String applicationName) {
//    boolean a=  mongoOperatService.initData(applicationName);
//      return BaseResponse.success(a);
//   }
}
